package main

import (
	"plugin"
)

func loadPlugin(soName string) {
	p, err := plugin.Open(soName)
    if err != nil {
        panic(err)
    }
    f, err := p.Lookup("Hello")
    if err != nil {
        panic(err)
    }
    f.(func())()
}

func loadPlugins() {
	//
	loadPlugin("plugins/system_time.so")
}
